package com.qf.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Set;

/**
 * @author lenovo
 * @version V1.0
 * @Date 2021/11/26 15:15
 */
@FeignClient(value = "sms-platform-cache")
public interface CacheService {

    @RequestMapping(value = "/cache/seget/{key}",method = RequestMethod.POST)
    public Set<String> setGet(@PathVariable(value = "key")String key);

    }
